nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 29 lines 633 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation (finalAttrs: { 8 pname = "rankwidth"; 9 version = "0.10"; 10 11 src = fetchurl { 12 url = "mirror://sourceforge/rankwidth/rw-${finalAttrs.version}.tar.gz"; 13 hash = "sha256-iajtNkiTrBtwq3ChUuPn2zzzSLtpCYqm27lpY535J9s="; 14 }; 15 16 configureFlags = [ 17 "--enable-executable=no" # no igraph dependency 18 ]; 19 20 # check phase is empty for now (as of version 0.9) 21 doCheck = true; 22 23 meta = { 24 description = "Calculates rank-width and rank-decompositions"; 25 license = with lib.licenses; [ gpl2Plus ]; 26 teams = [ lib.teams.sage ]; 27 platforms = lib.platforms.unix; 28 }; 29})