Browse Source

mv snapcraft.yaml into snap folder

pull/306/head
o2sh 5 years ago
parent
commit
357efba55d
  1. 1
      .gitignore
  2. 29
      default.nix
  3. 0
      snap/snapcraft.yaml

1
.gitignore vendored

@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
/target
**/*.rs.bk
/stage
/snap/snapcraft.yaml
*.snap
/parts
/prime

29
default.nix

@ -1,29 +0,0 @@ @@ -1,29 +0,0 @@
{
system ? builtins.currentSystem,
pkgs ? import <nixpkgs> { inherit system; },
...
}:
with pkgs;
let
rustPlatform = makeRustPlatform {
rustc = cargo;
cargo = cargo;
};
in
rustPlatform.buildRustPackage rec {
name = "onefetch-${version}";
version = "1.6.5";
src = ./.;
cargoSha256 = "0saxy27m08lcb9gr71n2m283frdhaixiac6d7fvdwj5qv228kjdb";
buildInputs = [ ];
CARGO_HOME = "$(mktemp -d cargo-home.XXX)";
meta = with lib; {
homepage = https://github.com/o2sh/onefetch;
description = ''displays information about your Git project directly on your terminal'';
license = licenses.mit;
# maintainers = with maintainers; [ kloenk ]; # I'm not a maintainer yet, but maybe I will submit this package, and then I will be a maintainer
};
}

0
snapcraft.yaml → snap/snapcraft.yaml

Loading…
Cancel
Save