diff options
author | Felix Buehler <account@buehler.rocks> | 2021-12-13 15:34:04 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-12-23 19:11:16 +0100 |
commit | ea4c444b85f83c4d9e28b74ce1f20e5a636e8469 (patch) | |
tree | eb0555acc6b3b243c1ac57cccc162bdca5de6f5f | |
parent | 97fd49172decae7f23b4f98c01546b8a869b5361 (diff) | |
download | nixpkgs-ea4c444b85f83c4d9e28b74ce1f20e5a636e8469.tar nixpkgs-ea4c444b85f83c4d9e28b74ce1f20e5a636e8469.tar.gz nixpkgs-ea4c444b85f83c4d9e28b74ce1f20e5a636e8469.tar.bz2 nixpkgs-ea4c444b85f83c4d9e28b74ce1f20e5a636e8469.tar.lz nixpkgs-ea4c444b85f83c4d9e28b74ce1f20e5a636e8469.tar.xz nixpkgs-ea4c444b85f83c4d9e28b74ce1f20e5a636e8469.tar.zst nixpkgs-ea4c444b85f83c4d9e28b74ce1f20e5a636e8469.zip |
nixpart: switch to fetchFromGitHub
-rw-r--r-- | pkgs/tools/filesystems/nixpart/0.4/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/tools/filesystems/nixpart/0.4/default.nix b/pkgs/tools/filesystems/nixpart/0.4/default.nix index 7b773a61a5f..2c024a24ba3 100644 --- a/pkgs/tools/filesystems/nixpart/0.4/default.nix +++ b/pkgs/tools/filesystems/nixpart/0.4/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, python, buildPythonApplication +{ lib, stdenv, fetchurl, fetchFromGitHub, python, buildPythonApplication , libselinux # Propagated to blivet , useNixUdev ? true @@ -58,9 +58,11 @@ in buildPythonApplication rec { version = "0.4.1"; disabled = python.isPy3k; - src = fetchurl { - url = "https://github.com/NixOS/nixpart/archive/v${version}.tar.gz"; - sha256 = "0avwd8p47xy9cydlbjxk8pj8q75zyl68gw2w6fnkk78dcb1a3swp"; + src = fetchFromGitHub { + owner = "NixOS"; + repo = "nixpart"; + rev = "v${version}"; + sha256 = "sha256-edl3mRg9Bn9Bd6FJl4zf1WS7XRcHTL5ey9LuKhaZG7I="; }; propagatedBuildInputs = [ blivet ]; |