about summary refs log tree commit diff
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authork0ral <mail@cmoreau.info>2021-10-10 19:04:16 +0200
committerGitHub <noreply@github.com>2021-10-10 19:04:16 +0200
commit43bbea938785d4228d87e4a443ea82f5ead9bcec (patch)
tree3c202e8181b9c0f55bbafb17439cfa76b654bc74 /pkgs/tools/filesystems
parent3814bbc65f10dd4813f4b312a5c4221524c67b15 (diff)
lfs: init at 1.0.0 (#141178)
Co-authored-by: Samuel Gräfenstein <git@samuelgrf.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r--pkgs/tools/filesystems/lfs/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/lfs/default.nix b/pkgs/tools/filesystems/lfs/default.nix
new file mode 100644
index 0000000000000..d1988183bf198
--- /dev/null
+++ b/pkgs/tools/filesystems/lfs/default.nix
@@ -0,0 +1,25 @@
+{ lib
+, fetchFromGitHub
+, rustPlatform
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "lfs";
+  version = "1.1.0";
+
+  src = fetchFromGitHub {
+    owner = "Canop";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "gez5q1niIhzWJpsEkbVRuQFILo3tTO8aJq7ewZArJ5M=";
+  };
+
+  cargoSha256 = "2U1xDG4bTimtmjwZ1z9ErlaOcBNJdRcHlEWVaiGg01M=";
+
+  meta = with lib; {
+    description = "Get information on your mounted disks";
+    homepage = "https://github.com/Canop/lfs";
+    license = licenses.mit;
+    maintainers = with maintainers; [ koral ];
+  };
+}